package com.changgou;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author 李民康
 * @date 2022/1/12 16:27
 */
@EnableSwagger2Doc
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})//禁止DataSource的加载创建
@EnableEurekaClient
public class FileApplication {

    public static void main(String[] args) {
        SpringApplication.run(FileApplication .class);
        System.out.println("=====================================FileApplication启动成功=====================================");
    }
}
